package com.tanhua.server.controller;

import com.tanhua.domain.vo.ExamVo;
import com.tanhua.server.service.SoulService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: Alfred
 * @Date: 2021/04/20/17:32
 * @Description:
 */
@RestController
@RequestMapping("/testSoul")
public class SoulController {

    @Autowired
    private SoulService soulService;

    @GetMapping
    public ResponseEntity testSoul(){
        List<ExamVo> list=  soulService.testSoul();
        return ResponseEntity.ok(list);
    }


}
